package com.xuecheng.content.service;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.common.domain.response.RestResponse;
import com.xuecheng.content.entity.TeachplanMedia;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2021-12-11
 */
public interface TeachplanMediaService extends IService<TeachplanMedia> {

    /**
     * 根据媒资id查询课程计划关联信息
     * @param mediaId
     * @return
     */
    RestResponse<List<TeachplanMediaDTO>> getByMediaId4s(Long mediaId);

}
